package com.faxe.educar.ws.boimpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.faxe.educar.ws.bo.UserBO;
import com.faxe.educar.ws.dao.ServiceDAO;
import com.faxe.educar.ws.dao.UserDAO;
import com.faxe.educar.ws.to.UserTO;

@Service("userBO")
public class UserBOImpl extends GenericBOImpl<UserTO> implements UserBO {
	private UserDAO dao;
	
	@Autowired
	public void setUserDAO(UserDAO dao) {
		this.dao = dao;
	}

	@Override
	public List<UserTO> getUserList() {
		// TODO Auto-generated method stub
		return null;
	}
	
	public UserTO getUserByEmail(String email){
		return dao.getUserByEmail(email);
	}
	
	
	
}
